package org.lmj.dos.common.dao;

import org.lmj.dos.common.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


/**
 * @Author: wxySmile
 * @Date 20-1-2 下午1:09
 */
public interface UserRepository extends JpaRepository<User,Integer> {

    User findByUsername(String username);


    @Override
    void deleteById(Integer integer);

    @Override
    List<User> findAll();
}
